package com.hycreate.platform.modules.voice;

import java.util.List;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.hycreate.platform.common.persistence.Page;
import com.hycreate.platform.common.service.CrudService;

/**
 * 语音播报Service
 * @author 语音播报
 * @version 2017-02-22
 */
@Service
@Transactional(readOnly = true)
public class SfVoiceService extends CrudService<SfVoiceDao, SfVoice> {

	public SfVoice get(String id) {
		return super.get(id);
	}
	
	public List<SfVoice> findList(SfVoice sfVoice) {
		return super.findList(sfVoice);
	}
	
	public Page<SfVoice> findPage(Page<SfVoice> page, SfVoice sfVoice) {
		return super.findPage(page, sfVoice);
	}
	
	@Transactional(readOnly = false)
	public void save(SfVoice sfVoice) {
		super.save(sfVoice);
	}
	
	@Transactional(readOnly = false)
	public void delete(SfVoice sfVoice) {
		super.delete(sfVoice);
	}
	
}